package com.example.mbl.service;

import com.example.mbl.dto.StudentDto;
import com.example.mbl.entity.Alumni;
import com.example.mbl.entity.Student;
import com.example.mbl.result.PageResult;
import com.example.mbl.result.WebRestResult;
import com.example.mbl.result.business.AlumniPageResult;
import com.example.mbl.result.business.StudentPageResult;

public interface StudentService {
    WebRestResult addStudent(Student student);
    WebRestResult addStudentBatch(StudentDto studentDto);
    WebRestResult deleteStudent(Student student);
    WebRestResult updateStudent(Student student);
    WebRestResult setStudentVisible(Student student);
    PageResult<StudentPageResult> getStudentList(String year,String degree,int page,int pagesize);
    WebRestResult addAlumni(Alumni alumni);
    WebRestResult addAlumniBatch(StudentDto studentDto);
    WebRestResult deleteAlumni(Alumni alumni);
    WebRestResult updateAlumni(Alumni alumni);
    WebRestResult setAlumniVisible(Alumni alumni);
    PageResult<AlumniPageResult> getAlumniList(String year, int page, int pagesize);
}
